home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15070 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  726 b 

  1. Path: panoramix.fi.upm.es!dia!sacha
  2. From: sacha@diafi.upm.es (Sacha)
  3. Newsgroups: comp.lang.c++
  4. Subject: istream, overloading >>
  5. Date: 3 Apr 1996 14:24:43 GMT
  6. Organization: CS Dept., Technical University of Madrid
  7. Sender: sacha@dia (Sacha)
  8. Distribution: world
  9. Message-ID: <4ju1nb$1an@panoramix.fi.upm.es>
  10. NNTP-Posting-Host: alba.dia.fi.upm.es
  11.  
  12. Hi, I need help with overloading >>.
  13.  
  14. I looked at the FAQ to find out how to provide printing for a class, and I
  15. successfully overloaded <<. Now I want to read classes in from a file: is there a
  16. nice way to do this by overloading >>? The FAQ I have doesn't go into it.
  17.  
  18. Does anyone have any examples or examples*?
  19.  
  20. Cheers,
  21.  
  22. Sacha.
  23.  
  24.  
  25.  
  26.  
  27.  
  28. -- 
  29. "It's not just pork, Gilbert, it's power."
  30.